package com.css.zfzx.sjcj.modules.qhriskvisualshowprovince.repository;

import com.css.zfzx.sjcj.modules.qhriskvisualshowprovince.repository.entity.QhProbabilityEarthquakeDangerProvinceEntity;
import com.css.zfzx.sjcj.modules.qhriskvisualshowprovince.viewobjects.QhProbabilityEarthquakeDangerProvinceQueryParams;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author andy
 * @date 2021-01-26
 */
public interface QhProbabilityEarthquakeDangerProvinceNativeRepository {

    Page<QhProbabilityEarthquakeDangerProvinceEntity> queryQhProbabilityEarthquakeDangers(QhProbabilityEarthquakeDangerProvinceQueryParams queryParams, int curPage, int pageSize);

    public List<QhProbabilityEarthquakeDangerProvinceEntity> listQhProbabilityEarthquakeDangers(QhProbabilityEarthquakeDangerProvinceQueryParams queryParams);

    public int lookUpQhProbabilityEarthquakeDangers(QhProbabilityEarthquakeDangerProvinceQueryParams queryParams, boolean isNewTable);

    public Page<QhProbabilityEarthquakeDangerProvinceEntity> queryQhProbabilityEarthquakeDangersByFileNameJDBC(QhProbabilityEarthquakeDangerProvinceQueryParams queryParams, int curPage, int pageSize, String sort, String order);

    public List<QhProbabilityEarthquakeDangerProvinceEntity> searchProbabilityEarthquakeDangersByJDBC(QhProbabilityEarthquakeDangerProvinceQueryParams queryParams);

    //zyt--查询数据的UUID列表
    public List<String> listQhProbabilityEarthquakeDangersUuidsByJDBC(QhProbabilityEarthquakeDangerProvinceQueryParams queryParams);
}
